PhpOffice\PhpSpreadsheet\Worksheet\PageSetup A

Total Complexity 67
Dependencies 2
Dependents 7
Total lines 768
Lines of code 217
Logical lines of code 108
Comment lines 359
Methods 36
Properties 12

Methods 36

Method Rating Maintainability Complexity Lines of code
setPrintArea()
A
44 14 42
setScale()
S
62 4 11
isRowsToRepeatAtTopSet()
S
67 4 8
isColumnsToRepeatAtLeftSet()
S
67 4 8
clearPrintArea()
S
61 3 12
__clone()
S
64 3 10
getPrintArea()
S
63 3 10
isPrintAreaSet()
S
67 2 7
setFitToWidth()
S
70 2 7
setFitToHeight()
S
70 2 7
getHorizontalCentered()
S
82 1 3
addPrintArea()
S
79 1 3
setPrintAreaByColumnAndRow()
S
68 1 7
addPrintAreaByColumnAndRow()
S
68 1 7
getFirstPageNumber()
S
82 1 3
setFirstPageNumber()
S
77 1 4
setVerticalCentered()
S
77 1 4
resetFirstPageNumber()
S
80 1 3
getVerticalCentered()
S
82 1 3
setHorizontalCentered()
S
77 1 4
__construct()
S
91 1 2
setRowsToRepeatAtTopByStartAndEnd()
S
76 1 4
setRowsToRepeatAtTop()
S
77 1 4
getPaperSize()
S
82 1 3
setColumnsToRepeatAtLeftByStartAndEnd()
S
76 1 4
setColumnsToRepeatAtLeft()
S
77 1 4
getColumnsToRepeatAtLeft()
S
82 1 3
getFitToWidth()
S
82 1 3
getFitToHeight()
S
82 1 3
setFitToPage()
S
77 1 4
getFitToPage()
S
82 1 3
getScale()
S
82 1 3
setOrientation()
S
77 1 4
getOrientation()
S
82 1 3
setPaperSize()
S
77 1 4
getRowsToRepeatAtTop()
S
82 1 3